﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace TestControls {
  public class DateTest:ObjectBase {

    DateTime? dateIn, dateOut, birthday;
    string text1, text2, text3;

    public string Text3 {
      get { return text3; }
      set { text3 = value; }
    }

    public string Text2 {
      get { return text2; }
      set { text2 = value; }
    }

    public string Text1 {
      get { return text1; }
      set { text1 = value; }
    }

    public DateTime? Birthday {
      get { return birthday; }
      set {
        SetField( ref birthday, value, "Birthday" );
      }
    }

    public DateTime? DateOut {
      get { return dateOut; }
      set {
        SetField( ref dateOut, value, "DateOut" );
      }
    }

    public DateTime? DateIn {
      get { return dateIn; }
      set {
        SetField( ref dateIn, value, "DateIn" );
      }
    }

    public DateTest( ) { }

    public DateTest( DateTime? birth, DateTime? inDate, DateTime? outDate ) {
      this.birthday = birth;
      this.dateIn = inDate;
      this.dateOut = outDate;
    }


  }
}
